Skip to main content
GET
/
functions
/
{name}
/
runs
/
{correlationId}
[beta] Get a Function run.
curl --request GET \
  --url https://api.samsara.com/functions/{name}/runs/{correlationId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "context": {
      "requestId": "req-550e8400-e29b-41d4-a716-446655440000",
      "requestPayload": "Ipsum aut repudiandae occaecati ut voluptas enim.",
      "responsePayload": "Aliquam praesentium et tempora."
    },
    "correlationId": "550e8400-e29b-41d4-a716-446655440000",
    "name": "my-function",
    "startedAtTime": "2021-01-01T00:00:00Z",
    "status": "success",
    "completedAtTime": "2021-01-01T00:00:30Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

The name of the Function.

correlationId
string
required

The unique correlationId of the Function run, returned by the start run endpoint.

Response

OK response.

data
object
required

Details of a specific Function run.